ArcPad Applet File Schema
MENUITEM Element
See Also  Send comments on this topic.
ArcPad Applet File Schema > TOOLBAR Element > TOOLBUTTON Element : MENUITEM Element

Glossary Item Box

Diagram

MENUITEM Element

Overview

MENUITEM 1..∞
caption optional xs:string
command optional xs:string
image optional xs:string
name optional xs:string
onclick optional xs:string
Specify the script to run when this event occurs.
onpointerdown optional xs:string
Specify the script to run when this event occurs.
onpointermove optional xs:string
Specify the script to run when this event occurs.
onpointerup optional xs:string
Specify the script to run when this event occurs.
promote optional Restriction of xs:string
prompt optional xs:string
shortcut optional xs:string

Attributes

NameTypeUseDefaultFixedDescription
captionxs:stringoptional   
commandxs:stringoptional   
imagexs:stringoptional   
namexs:stringoptional   
onclickxs:stringoptional  Specify the script to run when this event occurs.
onpointerdownxs:stringoptional  Specify the script to run when this event occurs.
onpointermovexs:stringoptional  Specify the script to run when this event occurs.
onpointerupxs:stringoptional  Specify the script to run when this event occurs.
promoteRestriction of xs:stringoptionalfalse  
promptxs:stringoptional   
shortcutxs:stringoptional   

Source

<xs:element maxOccurs="unbounded" name="MENUITEM" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:attribute ref="caption" />
    <xs:attribute ref="command" />
    <xs:attribute ref="image" />
    <xs:attribute ref="name" />
    <xs:attribute ref="onclick" />
    <xs:attribute ref="onpointerdown" />
    <xs:attribute ref="onpointermove" />
    <xs:attribute ref="onpointerup" />
    <xs:attribute default="false" name="promote">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute ref="prompt" />
    <xs:attribute ref="shortcut" />
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.